package com.g9.blog.service;

import com.g9.blog.entity.Article;
import com.g9.blog.entity.Users;

import java.util.List;

/**
 * @Auther: Graycat
 * @Date: 2020/9/11 11:08
 * Create by lwj.
 */
public interface ArticleService {


    List<Article> getUserLikeArticleByUserId(int userId);

    List<Users> getLikeUserByArticleId(int articleId);

    void deleteById( int id );

    List<Article> findAllById(int articleId);

    void save(Article article);
}
